package com.qf.day02;

import java.util.Scanner;

public class IfNextDemo {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入成绩");
        double s = sc.nextDouble();
        if(s<15){
            System.out.println("请输入性别");
            String stx = sc.next();
            if(stx.equals("男")){
                System.out.println("恭喜进入男子组");
            }else {
                System.out.println("恭喜进入女子组");
            }
        }else {
            System.out.println("很遗憾你被淘汰了");
        }
    }
}
